package com.byxy.service.impl;

import com.byxy.mapper.DetailsUserMapper;
import com.byxy.po.DetailsUser;
import com.byxy.service.DetailsUserService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class DetailsUserServiceImpl implements DetailsUserService<DetailsUser> {


    @Resource
    private DetailsUserMapper detailsUserMapper;

    @Override
    public int deleteByPrimaryKey(DetailsUser key) {
        return detailsUserMapper.deleteByPrimaryKey(key);
    }

    @Override
    public int insert(DetailsUser record) {
        return detailsUserMapper.insert(record);
    }

    @Override
    public int insertSelective(DetailsUser record) {
        return detailsUserMapper.insertSelective(record);
    }

    @Override
    public DetailsUser selectOne(DetailsUser record) {
        return detailsUserMapper.selectOne(record);
    }

    @Override
    public int updateByPrimaryKey(DetailsUser record) {
        return detailsUserMapper.updateByPrimaryKey(record);
    }
}
